package com.pactera.madp.cp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.common.core.util.R;
import com.pactera.madp.cp.api.dto.BlacklistDTO;
import com.pactera.madp.cp.api.entity.WorkCorpBlacklistEntity;

public interface IWorkCorpBlacklistService extends IService<WorkCorpBlacklistEntity> {

    R save(Integer corpId, BlacklistDTO entity);

    IPage query(BlacklistDTO dto, Page page);

    String getReason(Integer corpId,Integer contactId);

}
